package com.kdd.campus.sh.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: fcp
 * @Date: 2020/5/14 20:36
 * @Description:
 */
@Data
public class UserDto{
    @ApiModelProperty(value = "用户名")
    @NotBlank
    private String username;//用户名

    @ApiModelProperty(value = "电话号码")
    private String phone;//电话号码

    @ApiModelProperty(value = "头像")
    @NotBlank
    private String headPortrait;//头像

    @ApiModelProperty(value = "性别")
    private Integer gender;//性别

    @ApiModelProperty(value = "出生")
    private Date birth;//出生

    @ApiModelProperty(value = "简介")
    private String introduction;//简介

    @ApiModelProperty(value = "宿舍号")
    private String dormitory;//宿舍号

    @ApiModelProperty(value = "班级")
    private String clazz;//班级

    @ApiModelProperty(value = "学号")
    private String sno;//学号
}
